/**
 * 
 */
package com.photoinfo.app.vo;

import java.io.Serializable;

/**
 * place where a picture have been taken, with koordinates(latitude,logitude) for googlemap link
 * 
 * @author 	Holz, Roberto
 *			
 * created	20.04.2008 | 00:33:22
 */
public class Location implements Serializable{
	
	private static final long serialVersionUID = 5238226155639492591L;

	private String place;
	
	private float latitude;
	
	private float longitude;
	
	public Location() {
	}
	
	public Location(String place, float latitude, float longitude) {
		this.place = place;
		this.latitude = latitude;
		this.longitude = longitude;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public float getLatitude() {
		return latitude;
	}

	public void setLatitude(float latitude) {
		this.latitude = latitude;
	}

	public float getLongitude() {
		return longitude;
	}

	public void setLongitude(float longitude) {
		this.longitude = longitude;
	}
	
	@Override
	public String toString() {
		return new StringBuilder()
					.append(place).append(", (")
					.append(Float.toString(latitude)).append(", ")
					.append(Float.toString(longitude)).append(")").toString();
	}
}
